export default (Vue) => {
  Vue.filter('moneyEventType', (type) => {
    /*eslint-disable*/
    switch (+type) {
      case 1:
        return '充值'
        break
      case 2:
        return '打赏'
        break
      case 3:
        return '购买商品'
        break
      case 4:
        return '积分兑换'
        break
      case 5:
        return '任务奖励'
        break
      case 6:
        return '购买组合'
        break
      case 7:
        return '邀请用户'
        break
      case 8:
        return '系统赠送'
        break
      case 9:
        return '系统扣除'
        break
      case 100:
        return '人工'
        break
      default:
        return '人工'
    }
  /*eslint-enable*/
  })
}
